//
//  QCCustomCell.swift
//  爱汽车
//
//  Created by tucici on 2023/8/27.
//

import UIKit

class QCCustomCell: UITableViewCell {
    var block:((_ text:String)->Void)?
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBAction func actionForBtn(_ sender: UIButton) {
        block?(sender.currentTitle ?? "")
    }
}
